/**
* 作者: liubaoyuan
* 日期: 2024-10-25 17:22:17
* 备注: 玩家约会秘书信息表
*/
package com.motu.monstercity.server.game.userdata;

import com.motu.vertx.module.utility.toolset.TimeUtils;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

public class UserDatingSecretary extends UserDatingSecretaryModel {
	public UserDatingSecretary() {
		super();
	}

	public UserDatingSecretary(long userId, int secretaryId) {
		super();
		this.putUserId(userId);
		this.putSecretaryId(secretaryId);
		this.putLastDatingTime(TimeUtils.getCurTime());
	}

//	public void reset() {
//		//每周重置数据
//		long time = TimeUtils.getCurTime();
//		if (!TimeUtils.isSameWeek(time, this.getLastDatingTime())){
//			this.putLastDatingTime(time);
//		}
//		super.reset();
//	}
}
